﻿/*************************************
 * Creator:SW-PeiYang
 * DateTime:2025/8/28 17:07:30
 * Description:<Description>
 * CopyRight:中广核研究院有限公司
 * ***********************************/

using SunnyPaine.Autofac.Extension.Stereotype.Attributes;
using System;

namespace SunnyPaine.Autofac.Extension.Mvvm.Test.Config
{
    public interface ITest
    {
        void Write();
    }

    public class Test : ITest
    {
        public void Write()
        {
            Console.WriteLine("test config");
        }
    }



    [Configure]
    public class TestConfig
    {
        [Bean]
        public ITest GetTest()
        {
            return new Test();
        }
    }
}
